![]() |
StdBits |
||||
Header: | Quickdraw.h | Carbon status: | Supported | |
QuickDraw’s standard low-level function for transferring bits and pixels.
void StdBits ( const BitMap *srcBits, const Rect *srcRect, const Rect *dstRect, SInt16 mode, maskRgn );
A pointer to a bitmap or pixel map containing the image to copy.
A pointer to the source rectangle.
The destination rectangle.
The source mode for the copy.
A handle to a region acting as a mask for the transfer.
The StdBits function transfers a bit or pixel image between the bitmap or pixel map specified in the srcBits parameter and bitmap of the current graphics port, just as if the CopyBits function were called with the same parameters and with a destination bitmap equal to (*thePort).portBits.
You should only call this low-level function from your customized QuickDraw functions.
See CopyBits for a discussion of the destination bitmap and of the srcBits, srcRect, dstRect, mode, and maskRgn parameters
The StdBits function may move or purge memory blocks in the application heap; do not call this function at interrupt time.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)